const mongoose = require('mongoose');
// 创建数据结构
const cinemasSchema = new mongoose.Schema({
    id:String,//mongodb 自动生成的 id
    name:String,//影院名称
    address:String,//影院地址
    phone:String,//影院联系方式
    status:Boolean,//是否营业
});
const cinemasModel=mongoose.model("cinemas",cinemasSchema,"cinemas");
module.exports={cinemasModel}